package com.gift.dao;

import com.gift.pojo.GameAccount;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

public interface GameAccountMapper {
    int deleteByPrimaryKey(Integer aid);

    int insert(GameAccount record);

    int insertSelective(GameAccount record);

    GameAccount selectByPrimaryKey(Integer aid);

    int updateByPrimaryKeySelective(GameAccount record);

    int updateByPrimaryKey(GameAccount record);


    int getCountAll();
    List<GameAccount> getAllBypr(@Param("raa") int raa, @Param("rows") int rows);
    List<GameAccount> getAll();
    int deleteByPrimaryKeyList(@Param("ids") ArrayList<Integer> deleteIdList);

    List<GameAccount> getAllByGid(Integer gid);

}